// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_RETURN_MONEY_ITEM
// * CreateDate    : 2014-06-05 18:29:53
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:53
// * LastChanger   : 2014-06-05 18:29:53
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinReturnMoneyItemTable : TableInfo
    {
		public const string C_TableName = "FIN_RETURN_MONEY_ITEM";
		
		public const string C_RETURN_MONEY_ITEM_ID = "RETURN_MONEY_ITEM_ID";
		public const string C_RETURN_MONEY_ID = "RETURN_MONEY_ID";
		public const string C_PRODUCT_NAME = "PRODUCT_NAME";
		public const string C_PRODUCT_CODE = "PRODUCT_CODE";
		public const string C_RETURN_QTY = "RETURN_QTY";
		public const string C_RETURN_MONEY = "RETURN_MONEY";
		
		public FinReturnMoneyItemTable()
        {
            _tableName = "FIN_RETURN_MONEY_ITEM";
        }
		
		protected static FinReturnMoneyItemTable _current;
        public static FinReturnMoneyItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinReturnMoneyItemTable();

            _current.Add(C_RETURN_MONEY_ITEM_ID, new ColumnInfo(C_RETURN_MONEY_ITEM_ID,"ReturnMoneyItemId", true, typeof(string)));
            _current.Add(C_RETURN_MONEY_ID, new ColumnInfo(C_RETURN_MONEY_ID,"ReturnMoneyId", false, typeof(string)));
            _current.Add(C_PRODUCT_NAME, new ColumnInfo(C_PRODUCT_NAME,"ProductName", false, typeof(string)));
            _current.Add(C_PRODUCT_CODE, new ColumnInfo(C_PRODUCT_CODE,"ProductCode", false, typeof(string)));
            _current.Add(C_RETURN_QTY, new ColumnInfo(C_RETURN_QTY,"ReturnQty", false, typeof(string)));
            _current.Add(C_RETURN_MONEY, new ColumnInfo(C_RETURN_MONEY,"ReturnMoney", false, typeof(string)));
			
		}
		
		public ColumnInfo RETURN_MONEY_ITEM_ID
        {
            get { return this[C_RETURN_MONEY_ITEM_ID]; }
        }
		
		public ColumnInfo RETURN_MONEY_ID
        {
            get { return this[C_RETURN_MONEY_ID]; }
        }
		
		public ColumnInfo PRODUCT_NAME
        {
            get { return this[C_PRODUCT_NAME]; }
        }
		
		public ColumnInfo PRODUCT_CODE
        {
            get { return this[C_PRODUCT_CODE]; }
        }
		
		public ColumnInfo RETURN_QTY
        {
            get { return this[C_RETURN_QTY]; }
        }
		
		public ColumnInfo RETURN_MONEY
        {
            get { return this[C_RETURN_MONEY]; }
        }
		
		
		
	}
}

